<%@ page contentType="text/html; charset=utf-8" import="java.util.*" language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.tjzx.entity.*"%>
<%
	String bigTypestr = request.getAttribute("sbBigTypestr").toString();
	String subTypestr = request.getAttribute("sbSubTypestr").toString();
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script>
function InitSelect(object) { 
    var  AllTypeName = "<%=bigTypestr%>";
    var Allsubject = "<%=subTypestr%>";
    var tempstr ="<select id=\"smallType\" name=\"smallType\"  class=\"a9\" style=\"width:60%\" >";
    
    var tempType = AllTypeName.split('|');
    var tempSubject = Allsubject.split('|');
    
    for (var i = 0; i < tempType.length; i++) {
        if (tempType[i] == object.value) {

            tempstr += "<option value=\"" + tempSubject[i] + "\">" + tempSubject[i] + "</option>";
        
        }
        
    }
    tempstr+="</select>";

    document.getElementById("smallTypeSpan").innerHTML = tempstr;

}


</script>

<html>
  <head>
    
    <title>四川省人民医院健康体检中心-体检中心</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="style/css.css">
	<link rel="stylesheet" type="text/css" href="style/lanrenxixi.css">
	<script src="js/Calendarmax.js" language="javascript" type="text/javascript"></script> 
  </head>
  
  <body>
  <div align="center">
  <table width="1000" border ="0" cellpadding ="0" cellspacing ="0">
         <tr>
          <td align="left">
  
<div class="divding" style="text-align: right">
      <a  href="../index.aspx" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('../index.aspx');">设为首页</a>
       <a href="Javascript:window.external.addFavorite(document.location.href,document.title)">加入收藏</a> 
     </div>
 <table width=980>
 	<tr valign="bottom">
 		<td class="divtop01"><img  height=70  width=160 src="images/11.jpg" /> </td>
 		<td>
	 		<table>
	 			<tr>
	 				<td class="divtop04"><a href="main.do">首  页</a></td>
	 				<td class="divtop04"><a href="main.do?method=get&id=29">中心介绍</a></td>
				  <td class="divtop04"><a href="main.do?method=all&newsType=125">体检套餐</a></td>
				  <td class="divtop04"><a href="main.do?method=all&newsType=127">体检公告</a></td>
				  <td class="divtop04"><a href="main.do?method=all&newsType=162">PET-CT</a></td>
				  <td class="divtop04"><a href="main.do?method=vip">VIP直通</a></td>
				  <td class="divtop04"><a href="main.do?method=suggest">投诉建议</a></td>
				  <td class="divtop04"><a href="main.do?method=get&id=41">联系我们</a></td>
			  </tr>
			  </table>
		  </td>
 	</tr>
 	<tr >
 		<td colspan="2" class="divtopimg"><img  height=320  style=" text-align:left; margin-left" width=980 src="images/contents.jpg" /> </td>
 	</tr>
 </table>
  </td>
         </tr>
         <tr>
          <td align="left" valign="top">
            <div class="divzhong">
 		 <!--中间内容 -->
	 <div class="divxun">
 
 <!-- center content -->
	<div class="content2">
 			<div class="divzhongleft">
		    <!--左边内容 -->
		    <div class="divrightlian1">
	          	<div class="divzhongleft11" >
	          	<img src="images/quick.gif" width="49" height="14"/>
	          	</div>
	          	<div class="divzhongleft11">
				<a href="main.do?method=reserve">  我要预约==》》》</a>
				</div>
				<div class="divzhongleft11">
				  <a href="reserve.do?method=search">预约查询==》》》</a>
				</div>
			</div>

			<div class="divzhongleft2">
				  <div class="divzhongleft21">
				    <div class="divzhongleft22">联系方式</div>
						<div class="divzhongleft23">
							  <div class="divzhongleft231"><img src="images/lianxi2.png" /></div>
							  
							  <div class="divzhongleft232">地址：
			                      一环路西二段32号
							  </div>
							  <div class="divzhongleft232"> 邮编：
							      610072
							  </div>
							  <div class="divzhongleft232"> 服务电话：
			                      028-87394720
							  </div>
			                  <div class="divzhongleft232">&nbsp;&nbsp;&nbsp;&nbsp;
			                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;028-87394801
							  </div>
					</div>
				  </div>
			</div>
			<!--左边内容 -->
		  </div>
 		
 		<!-- news contents -->
			<div class="divjies">
		    <div class="divjies1">
			 <img src="images/xuan.png" width="15" height="15" />体检预约
			</div>
			<div class="divjies2">
			 <div class="xiazai">
			    <img src="images/proe.jpg" />预约信息
			 </div>
			 <p></p>
			 <div class="divmess">
			 <form action="reserve.do?method=add" method="post">
			     <table width="640" border="0" cellpadding="0" cellspacing="0" >
				  <tr>
				   <td id="tdleft">用户姓名：</td>
				   <td>
                      <input  type="text" id="UserName" name="UserName"  class="a9" size="80" value="" />
                       </td>
				  </tr>
				  <tr>
				   <td id="tdleft">身份证号：</td>
				   <td><input  type="text" id="IdentifyNo" name="IdentifyNo"  class="a9" size="80" value="" />
                       </td>
				  </tr>
				  <tr>
				   <td id="tdleft">申请类型：</td>
				   <td><select name="ReserveType" class="a9" style="width:60%" >
                                         <option value="个人体检">个人体检</option>
                                         <option value="团队体检">团队体检</option>
                                          </select>
                       </td>
				  </tr>
				  <tr>
				   <td id="tdleft">体检大类：</td>
				   <td><select id="BigType" name="BigType" style="width:60%"  onchange="InitSelect(this);">
				   <c:forEach items="${bigTypeList}" var="EipProductType">
					   <option value="${EipProductType.name}">${EipProductType.name}</option>
			     	</c:forEach>
				   	</select>
				       </td>
				  </tr>
				  <tr>
				   <td id="tdleft" style="height: 30px">体检小类：</td>
				   <td style="height: 30px"><span id="smallTypeSpan">
				   <select id="smallType" name="smallType"  class="a9" style="width:60%" >
				   <c:forEach items="${firstSubList}" var="EipNewsInfo">
					   <option value="${EipNewsInfo.subject}">${EipNewsInfo.subject}</option>
			     	</c:forEach>
			     	</select>
				   </span>   </td>
				  </tr>
				  <tr>
				   <td id="tdleft" style="height: 30px">预约时间：</td>
				   <td style="height: 30px"><input  type="text" id="ReserveTime" name="ReserveTime" readOnly onClick="setDayHM(this);"  class="a9" size="80" value="" />
                       </td>
				  </tr>
				  <tr>
				   <td id="tdleft">联系电话：</td>
				   <td><input  type="text" id="tel" name="tel"  class="a9" size="80" value="" />
                      
				   </td>
				  </tr>
				  <tr>
				   <td id="tdleft" style="height: 22px">单位：</td>
				   <td style="height: 22px"><input  type="text" id="unit" name="unit"  class="a9" size="80" value="" />
                       </td>
				  </tr>
				  <tr>
				   <td id="tdleft">地址：</td>
				   <td><input  type="text" id="adress" name="adress"  class="a9" size="80" value="" />
                       </td>
				  </tr>
				  <tr>
				   <td  align="right" valign="top" bgcolor="#EEFCFF">详细说明：</td>
				   <td> <textarea name="content" id="content" class="a9" cols="60" rows="10"></textarea></td>
				  </tr>
				  <tr>
				  <td colspan="2" style="height: 102px"> 
						<table>
							<tr>
								<td colspan="6">友情提示：</td>
							</tr>
							<tr>
								<td>
									   1、为了使您的预约有效，请务必提供有效的联系人、联系电话；<br>
                                       2、为了使您的预约有效，请务必选择预约体检套餐项目及预约检查的时间；<br>
                                       3、凡网上预约者体检当天享受优先服务；<br>
                                       4、请您确认选择的套餐内容及需检项目，预约成功后将不能进行更改；<br>
                                       5、预约时间：14:00～17:30 (冬至时间)&nbsp;&nbsp;&nbsp;14:30～18:00 (夏至时间)&nbsp;&nbsp;&nbsp;<br>
                                       6、感谢你的支持！若有疑问请拨咨询电话：团队预约咨询：028-87394720&nbsp;  个人预约咨询：028-87394801。
                                  </td>
      						</tr>
                         </table>
				 </td>
				  </tr>
			    </table>
				 <div class="divliuyanba">
                     &nbsp;<input type="submit" value="提交信息" />&nbsp;<input
                         type="reset" value="重置信息" /></div>
			 
			 </form>
		    </div>
			</div>
		  </div>
		  <!--中间内容 END-->
		  </div>
 			
 	 </div>
	 <!--中间内容 -->
   </div>
 	
 	</td>
         </tr>
         <tr>
          <td align="left">
 	
 	<div class="divbuttom">
     <!--底部内容 -->
	 <div class="divbuttom1">
	     <div style =" margin-left:100px;">Copyright since2011 SICHUAN ACADEMY OF MEDICAL SCIENCES & SICHUAN PROVINCIAL PEOPLE'S HOSPITAL.</div>
	    <div style="float:left;"><img src="images/wr.jpg" /></div>
	   <div style="float:inherit;">
	     版权所有：2011 四川省人民医院健康体检中心
	   </div>
	 </div>
	 <!--底部内容 -->
   </div>
    </td>
         </tr>
       </table>
   
   </div>
  </body>
</html>
